LOCAL_PATH := $(call my-dir)


include $(CLEAR_VARS)
LOCAL_MODULE    := libevent
LOCAL_SRC_FILES := libeventcore.a
include $(PREBUILT_STATIC_LIBRARY)


include $(CLEAR_VARS)
LOCAL_ARM_MODE := arm
LOCAL_MODULE := helloevent
LOCAL_SRC_FILES := native-lib.cpp
LOCAL_C_INCLUDES += $(LOCAL_PATH)/include \
	$(LOCAL_PATH)/compat

LOCAL_STATIC_LIBRARIES := libevent
LOCAL_LDLIBS    += -llog

include $(BUILD_SHARED_LIBRARY)